@import "~antd/lib/style/themes/default.less";
@import "../../../utils/utils.less";

.root {

  .topSearch {
    margin: -16px -16px 16px -16px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    padding: 0 24px 16px 24px;
    white-space: nowrap;

    :global {
      .ant-input-search {
        width: 256px;
        height: 32px;
        margin-right: 16px;
      }

      .ant-select {
        width: 256px;
      }
    }
  }



  .sceneTitle {
    display: inline-block;
    color: @text-color;
    font-size: 16px;
    margin-bottom: 12px;
    transition: all 0.3s;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .title {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
    font-weight: bold;
  }

  .info {
    display: flex;
    justify-content: flex-end;
    white-space: nowrap;
    margin-bottom: 36px;
    margin-top: 4px;

    .item {
      span {
        font-size: 14px;
        line-height: 22px;
        color: rgba(0, 0, 0, 0.45);
        margin-left: 8px;
      }

      span:nth-child(2) {
        font-weight: 500;
        color: #000;
        margin: 0 8px;
      }

      &:last-child {
        span:nth-child(2) {
          margin-right: 0
        }
      }
    }
  }
}


.offlineCard {
  :global {
    .ant-tabs-ink-bar {
      bottom: auto;
    }

    .ant-tabs-bar {
      border-bottom: none;
    }

    .ant-tabs-nav-container-scrolling {
      padding-left: 40px;
      padding-right: 40px;
    }

    .ant-tabs-tab-prev-icon:before {
      position: relative;
      left: 6px;
    }

    .ant-tabs-tab-next-icon:before {
      position: relative;
      right: 6px;
    }

    .ant-tabs-nav .ant-tabs-tab-active {
      border-top: 2px solid #245BDB;
      font-weight: normal;
    }
  }

  :global(.ant-tabs-tab-active) h4 {
    color: @primary-color;
  }
}

.feedbackWrap {
  max-width: 500px;
  // position: absolute;
  // right: 24px;
  padding-left: 52px;

  .pieTitle {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    text-align: center;

    .num {
      font-size: 30px;
      color: rgba(0, 0, 0, 0.85);
      white-space: nowrap;
    }
  }

  .emptyPie {
    width: 244px;
    height: 244px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    img {
      width: 100%;
      position: absolute;
      left: 0;
    }

    span {
      color: rgba(0, 0, 0, 0.45);
    }

    h2 {
      font-size: 24px;
    }
  }

}


:global(.ant-tabs-tab-active) {
  .sceneTitle {
    color: #245BDB;
  }

}